<?php
/*蓝优-2020.7.8*/
header('Content-type:application/json; charset=utf-8');
!empty($_GET['url']) ? $url = $_GET['url'] : exit(json_encode(['code'=>202,"msg"=>"参数错误"],JSON_UNESCAPED_UNICODE));
$api = file_get_contents('https://umapi.top/api/dy.php?url='.$url);
$data = json_decode($api,true);
echo json_encode($data,JSON_PRETTY_PRINT|JSON_UNESCAPED_UNICODE);